package cn.ljl.org.domain;


import cn.ljl.basic.domain.BaseDomain;
import lombok.Data;

@Data
public class Employee extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    //接收重复密码
    private String comfirmPassword;
    private Integer age;
    private Integer state;
    //所属部门id
    private Long department_id;
    //所属部门
    private Department department;
    //登录信息id
    private Long logininfo_id;
    //店铺id：为null就是平台管理员，不为null就是店铺管理员
    private Long shop_id;
    //方便从中间表中为当前员工添加角色
    private Long role_id;
    private  String role_name;
}
